import React from 'react';
import { MdFileCopy } from 'react-icons/md';

const complexity = [
  {
    path: '/code',
    name: '仓库',
    access: 'canRead',
    logo: <MdFileCopy className="main-icon" />,
    routes: [
      {
        path: 'store',
        name: '仓库列表',
        access: 'canRead',
        component: './Store',
      },
      {
        path: 'detail',
        name: '仓库详情',
        access: 'canRead',
        component: './Store/components/StoreDetail',
        hideInMenu: true,
      },
      { component: './Exception/404', hideInMenu: true },
    ],
  },
];

export default complexity;
